package com.yiren.manager.form.lease;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrLeasePledgeForm extends GenericForm{

	private static final long serialVersionUID = 5801574456576717898L;

	private String leasePledgeId;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderCardId;

	private String elderId;

	private String elderName;

	private String handleId;

	private String handleName;

	private String leaseRelationId;

	private String leaseSuppliesId;

	private String leaseSuppliesName;

	private Float pledge;

	private Float retreatMoney;

	private Integer status;

	private String updateId;
	
	private String subjectRoomId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date updateTime;
 	
 	private String handler;
 	
 	private Date payTime;
 	
 	private Date returnTime;
 	
	public Date getPayTime() {
		return payTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public String getLeasePledgeId() {
		return leasePledgeId;
	}

	public void setLeasePledgeId(String leasePledgeId) {
		this.leasePledgeId = leasePledgeId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderCardId() {
		return elderCardId;
	}

	public void setElderCardId(String elderCardId) {
		this.elderCardId = elderCardId;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public String getHandleId() {
		return handleId;
	}

	public void setHandleId(String handleId) {
		this.handleId = handleId;
	}

	public String getHandleName() {
		return handleName;
	}

	public void setHandleName(String handleName) {
		this.handleName = handleName;
	}
	
	public String getLeaseRelationId() {
		return leaseRelationId;
	}

	public void setLeaseRelationId(String leaseRelationId) {
		this.leaseRelationId = leaseRelationId;
	}

	public String getLeaseSuppliesId() {
		return leaseSuppliesId;
	}

	public void setLeaseSuppliesId(String leaseSuppliesId) {
		this.leaseSuppliesId = leaseSuppliesId;
	}

	public String getLeaseSuppliesName() {
		return leaseSuppliesName;
	}

	public void setLeaseSuppliesName(String leaseSuppliesName) {
		this.leaseSuppliesName = leaseSuppliesName;
	}
	
	public Float getPledge() {
		return pledge;
	}

	public void setPledge(Float pledge) {
		this.pledge = pledge;
	}

	public Float getRetreatMoney() {
		return retreatMoney;
	}

	public void setRetreatMoney(Float retreatMoney) {
		this.retreatMoney = retreatMoney;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
